{template 'common/header'}

<form action="" method="post" class="form-horizontal form" enctype="multipart/form-data">
                          <div class="form-group">
                                <div class="input-group">
                                    <span class="input-group-addon">游戏大厅首页链接：</span>
                             
                                    <input type="text" name="firstpage" placeholder="http://开头" class="form-control" value="{$settings['firstpage']}">
                                </div>
                                
                           </div>		
                          <div class="form-group">
                                <div class="input-group">
                                    <span class="input-group-addon">积分商城链接：</span>
                             
                                    <input type="text" name="pointmall" placeholder="http://开头" class="form-control" value="{$settings['pointmall']}">
                                </div>
                                
                           </div>		
                          <div class="form-group">
                                <div class="input-group">
                                    <span class="input-group-addon">积分充值链接：</span>
                             
                                    <input type="text" name="pointadd" placeholder="http://开头" class="form-control" value="{$settings['pointadd']}">
                                </div>
                                
                           </div>	
                          <div class="form-group">
                                <div class="input-group">
                                    <span class="input-group-addon">排行榜显示人数：</span>
                             
                                    <input type="text" name="orderbannum" class="form-control" value="{$settings['orderbannum']}">
                                </div>
                                
                           </div>	
                          <div class="form-group">
                                <div class="input-group">
                                    <span class="input-group-addon">积分名称：</span>
                             
                                    <input type="text" name="pointname" class="form-control" value="{$settings['pointname']}">
                                </div>
                                
                           </div>
                          <div class="form-group">
                                <div class="input-group">
                                    <span class="input-group-addon">中奖结果通知模板：</span>
                             
                                    <input type="text" name="success_msg" class="form-control" value="{$settings['MSGID']['success_msg']}">
                                </div>
                                
                           </div>		
                          <div class="form-group">
                                <div class="input-group">
                                    <span class="input-group-addon">游戏玩法介绍：</span>
                                    <textarea style="height: 500px" id="content" name="gamerule" class="form-control richtext" cols="60">{$settings['gamerule']}</textarea>
<script type="text/javascript">
    require(['jquery', 'util'], function ($, u) {
        $(function () {
            u.editor($('.richtext')[0]);
            u.editor($('.richtext')[1]);
        });
    });
</script>                                    
               
           
                                </div>
                                
                           </div>
                          <div class="form-group">
                                <div class="input-group">
                                   
                             		<input type="submit" name="submit" class="btn btn-primary" value="提交"/>
                             		<input type="hidden" name="token" value="{$_W['token']}" />
                             		
                                </div>
                                
                           </div>
</form>		

{template 'common/footer'}